package com.qike.baoxiu.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BaoxiuOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BaoxiuOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("add_time is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("add_time is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(Date value) {
            addCriterion("add_time =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(Date value) {
            addCriterion("add_time <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(Date value) {
            addCriterion("add_time >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("add_time >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(Date value) {
            addCriterion("add_time <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(Date value) {
            addCriterion("add_time <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<Date> values) {
            addCriterion("add_time in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<Date> values) {
            addCriterion("add_time not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(Date value1, Date value2) {
            addCriterion("add_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(Date value1, Date value2) {
            addCriterion("add_time not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNull() {
            addCriterion("order_no is null");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNotNull() {
            addCriterion("order_no is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualTo(String value) {
            addCriterion("order_no =", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualTo(String value) {
            addCriterion("order_no <>", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThan(String value) {
            addCriterion("order_no >", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("order_no >=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThan(String value) {
            addCriterion("order_no <", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualTo(String value) {
            addCriterion("order_no <=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLike(String value) {
            addCriterion("order_no like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotLike(String value) {
            addCriterion("order_no not like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoIn(List<String> values) {
            addCriterion("order_no in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotIn(List<String> values) {
            addCriterion("order_no not in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoBetween(String value1, String value2) {
            addCriterion("order_no between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotBetween(String value1, String value2) {
            addCriterion("order_no not between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIsNull() {
            addCriterion("order_status is null");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIsNotNull() {
            addCriterion("order_status is not null");
            return (Criteria) this;
        }

        public Criteria andOrderStatusEqualTo(Integer value) {
            addCriterion("order_status =", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotEqualTo(Integer value) {
            addCriterion("order_status <>", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusGreaterThan(Integer value) {
            addCriterion("order_status >", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_status >=", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusLessThan(Integer value) {
            addCriterion("order_status <", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusLessThanOrEqualTo(Integer value) {
            addCriterion("order_status <=", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIn(List<Integer> values) {
            addCriterion("order_status in", values, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotIn(List<Integer> values) {
            addCriterion("order_status not in", values, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusBetween(Integer value1, Integer value2) {
            addCriterion("order_status between", value1, value2, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("order_status not between", value1, value2, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andContractNameIsNull() {
            addCriterion("contract_name is null");
            return (Criteria) this;
        }

        public Criteria andContractNameIsNotNull() {
            addCriterion("contract_name is not null");
            return (Criteria) this;
        }

        public Criteria andContractNameEqualTo(String value) {
            addCriterion("contract_name =", value, "contractName");
            return (Criteria) this;
        }

        public Criteria andContractNameNotEqualTo(String value) {
            addCriterion("contract_name <>", value, "contractName");
            return (Criteria) this;
        }

        public Criteria andContractNameGreaterThan(String value) {
            addCriterion("contract_name >", value, "contractName");
            return (Criteria) this;
        }

        public Criteria andContractNameGreaterThanOrEqualTo(String value) {
            addCriterion("contract_name >=", value, "contractName");
            return (Criteria) this;
        }

        public Criteria andContractNameLessThan(String value) {
            addCriterion("contract_name <", value, "contractName");
            return (Criteria) this;
        }

        public Criteria andContractNameLessThanOrEqualTo(String value) {
            addCriterion("contract_name <=", value, "contractName");
            return (Criteria) this;
        }

        public Criteria andContractNameLike(String value) {
            addCriterion("contract_name like", value, "contractName");
            return (Criteria) this;
        }

        public Criteria andContractNameNotLike(String value) {
            addCriterion("contract_name not like", value, "contractName");
            return (Criteria) this;
        }

        public Criteria andContractNameIn(List<String> values) {
            addCriterion("contract_name in", values, "contractName");
            return (Criteria) this;
        }

        public Criteria andContractNameNotIn(List<String> values) {
            addCriterion("contract_name not in", values, "contractName");
            return (Criteria) this;
        }

        public Criteria andContractNameBetween(String value1, String value2) {
            addCriterion("contract_name between", value1, value2, "contractName");
            return (Criteria) this;
        }

        public Criteria andContractNameNotBetween(String value1, String value2) {
            addCriterion("contract_name not between", value1, value2, "contractName");
            return (Criteria) this;
        }

        public Criteria andContractIdIsNull() {
            addCriterion("contract_id is null");
            return (Criteria) this;
        }

        public Criteria andContractIdIsNotNull() {
            addCriterion("contract_id is not null");
            return (Criteria) this;
        }

        public Criteria andContractIdEqualTo(Integer value) {
            addCriterion("contract_id =", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotEqualTo(Integer value) {
            addCriterion("contract_id <>", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdGreaterThan(Integer value) {
            addCriterion("contract_id >", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("contract_id >=", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdLessThan(Integer value) {
            addCriterion("contract_id <", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdLessThanOrEqualTo(Integer value) {
            addCriterion("contract_id <=", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdIn(List<Integer> values) {
            addCriterion("contract_id in", values, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotIn(List<Integer> values) {
            addCriterion("contract_id not in", values, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdBetween(Integer value1, Integer value2) {
            addCriterion("contract_id between", value1, value2, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotBetween(Integer value1, Integer value2) {
            addCriterion("contract_id not between", value1, value2, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractPhoneIsNull() {
            addCriterion("contract_phone is null");
            return (Criteria) this;
        }

        public Criteria andContractPhoneIsNotNull() {
            addCriterion("contract_phone is not null");
            return (Criteria) this;
        }

        public Criteria andContractPhoneEqualTo(String value) {
            addCriterion("contract_phone =", value, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneNotEqualTo(String value) {
            addCriterion("contract_phone <>", value, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneGreaterThan(String value) {
            addCriterion("contract_phone >", value, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("contract_phone >=", value, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneLessThan(String value) {
            addCriterion("contract_phone <", value, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneLessThanOrEqualTo(String value) {
            addCriterion("contract_phone <=", value, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneLike(String value) {
            addCriterion("contract_phone like", value, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneNotLike(String value) {
            addCriterion("contract_phone not like", value, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneIn(List<String> values) {
            addCriterion("contract_phone in", values, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneNotIn(List<String> values) {
            addCriterion("contract_phone not in", values, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneBetween(String value1, String value2) {
            addCriterion("contract_phone between", value1, value2, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneNotBetween(String value1, String value2) {
            addCriterion("contract_phone not between", value1, value2, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andCommentIsNull() {
            addCriterion("comment is null");
            return (Criteria) this;
        }

        public Criteria andCommentIsNotNull() {
            addCriterion("comment is not null");
            return (Criteria) this;
        }

        public Criteria andCommentEqualTo(String value) {
            addCriterion("comment =", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotEqualTo(String value) {
            addCriterion("comment <>", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThan(String value) {
            addCriterion("comment >", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThanOrEqualTo(String value) {
            addCriterion("comment >=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThan(String value) {
            addCriterion("comment <", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThanOrEqualTo(String value) {
            addCriterion("comment <=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLike(String value) {
            addCriterion("comment like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotLike(String value) {
            addCriterion("comment not like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentIn(List<String> values) {
            addCriterion("comment in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotIn(List<String> values) {
            addCriterion("comment not in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentBetween(String value1, String value2) {
            addCriterion("comment between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotBetween(String value1, String value2) {
            addCriterion("comment not between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andScoreIsNull() {
            addCriterion("score is null");
            return (Criteria) this;
        }

        public Criteria andScoreIsNotNull() {
            addCriterion("score is not null");
            return (Criteria) this;
        }

        public Criteria andScoreEqualTo(Integer value) {
            addCriterion("score =", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotEqualTo(Integer value) {
            addCriterion("score <>", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThan(Integer value) {
            addCriterion("score >", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("score >=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThan(Integer value) {
            addCriterion("score <", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThanOrEqualTo(Integer value) {
            addCriterion("score <=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreIn(List<Integer> values) {
            addCriterion("score in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotIn(List<Integer> values) {
            addCriterion("score not in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreBetween(Integer value1, Integer value2) {
            addCriterion("score between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("score not between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andFixIdIsNull() {
            addCriterion("fix_id is null");
            return (Criteria) this;
        }

        public Criteria andFixIdIsNotNull() {
            addCriterion("fix_id is not null");
            return (Criteria) this;
        }

        public Criteria andFixIdEqualTo(Integer value) {
            addCriterion("fix_id =", value, "fixId");
            return (Criteria) this;
        }

        public Criteria andFixIdNotEqualTo(Integer value) {
            addCriterion("fix_id <>", value, "fixId");
            return (Criteria) this;
        }

        public Criteria andFixIdGreaterThan(Integer value) {
            addCriterion("fix_id >", value, "fixId");
            return (Criteria) this;
        }

        public Criteria andFixIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("fix_id >=", value, "fixId");
            return (Criteria) this;
        }

        public Criteria andFixIdLessThan(Integer value) {
            addCriterion("fix_id <", value, "fixId");
            return (Criteria) this;
        }

        public Criteria andFixIdLessThanOrEqualTo(Integer value) {
            addCriterion("fix_id <=", value, "fixId");
            return (Criteria) this;
        }

        public Criteria andFixIdIn(List<Integer> values) {
            addCriterion("fix_id in", values, "fixId");
            return (Criteria) this;
        }

        public Criteria andFixIdNotIn(List<Integer> values) {
            addCriterion("fix_id not in", values, "fixId");
            return (Criteria) this;
        }

        public Criteria andFixIdBetween(Integer value1, Integer value2) {
            addCriterion("fix_id between", value1, value2, "fixId");
            return (Criteria) this;
        }

        public Criteria andFixIdNotBetween(Integer value1, Integer value2) {
            addCriterion("fix_id not between", value1, value2, "fixId");
            return (Criteria) this;
        }

        public Criteria andFixNameIsNull() {
            addCriterion("fix_name is null");
            return (Criteria) this;
        }

        public Criteria andFixNameIsNotNull() {
            addCriterion("fix_name is not null");
            return (Criteria) this;
        }

        public Criteria andFixNameEqualTo(String value) {
            addCriterion("fix_name =", value, "fixName");
            return (Criteria) this;
        }

        public Criteria andFixNameNotEqualTo(String value) {
            addCriterion("fix_name <>", value, "fixName");
            return (Criteria) this;
        }

        public Criteria andFixNameGreaterThan(String value) {
            addCriterion("fix_name >", value, "fixName");
            return (Criteria) this;
        }

        public Criteria andFixNameGreaterThanOrEqualTo(String value) {
            addCriterion("fix_name >=", value, "fixName");
            return (Criteria) this;
        }

        public Criteria andFixNameLessThan(String value) {
            addCriterion("fix_name <", value, "fixName");
            return (Criteria) this;
        }

        public Criteria andFixNameLessThanOrEqualTo(String value) {
            addCriterion("fix_name <=", value, "fixName");
            return (Criteria) this;
        }

        public Criteria andFixNameLike(String value) {
            addCriterion("fix_name like", value, "fixName");
            return (Criteria) this;
        }

        public Criteria andFixNameNotLike(String value) {
            addCriterion("fix_name not like", value, "fixName");
            return (Criteria) this;
        }

        public Criteria andFixNameIn(List<String> values) {
            addCriterion("fix_name in", values, "fixName");
            return (Criteria) this;
        }

        public Criteria andFixNameNotIn(List<String> values) {
            addCriterion("fix_name not in", values, "fixName");
            return (Criteria) this;
        }

        public Criteria andFixNameBetween(String value1, String value2) {
            addCriterion("fix_name between", value1, value2, "fixName");
            return (Criteria) this;
        }

        public Criteria andFixNameNotBetween(String value1, String value2) {
            addCriterion("fix_name not between", value1, value2, "fixName");
            return (Criteria) this;
        }

        public Criteria andFinishTimeIsNull() {
            addCriterion("finish_time is null");
            return (Criteria) this;
        }

        public Criteria andFinishTimeIsNotNull() {
            addCriterion("finish_time is not null");
            return (Criteria) this;
        }

        public Criteria andFinishTimeEqualTo(Date value) {
            addCriterion("finish_time =", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeNotEqualTo(Date value) {
            addCriterion("finish_time <>", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeGreaterThan(Date value) {
            addCriterion("finish_time >", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("finish_time >=", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeLessThan(Date value) {
            addCriterion("finish_time <", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeLessThanOrEqualTo(Date value) {
            addCriterion("finish_time <=", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeIn(List<Date> values) {
            addCriterion("finish_time in", values, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeNotIn(List<Date> values) {
            addCriterion("finish_time not in", values, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeBetween(Date value1, Date value2) {
            addCriterion("finish_time between", value1, value2, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeNotBetween(Date value1, Date value2) {
            addCriterion("finish_time not between", value1, value2, "finishTime");
            return (Criteria) this;
        }

        public Criteria andReciveTimeIsNull() {
            addCriterion("recive_time is null");
            return (Criteria) this;
        }

        public Criteria andReciveTimeIsNotNull() {
            addCriterion("recive_time is not null");
            return (Criteria) this;
        }

        public Criteria andReciveTimeEqualTo(Date value) {
            addCriterion("recive_time =", value, "reciveTime");
            return (Criteria) this;
        }

        public Criteria andReciveTimeNotEqualTo(Date value) {
            addCriterion("recive_time <>", value, "reciveTime");
            return (Criteria) this;
        }

        public Criteria andReciveTimeGreaterThan(Date value) {
            addCriterion("recive_time >", value, "reciveTime");
            return (Criteria) this;
        }

        public Criteria andReciveTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("recive_time >=", value, "reciveTime");
            return (Criteria) this;
        }

        public Criteria andReciveTimeLessThan(Date value) {
            addCriterion("recive_time <", value, "reciveTime");
            return (Criteria) this;
        }

        public Criteria andReciveTimeLessThanOrEqualTo(Date value) {
            addCriterion("recive_time <=", value, "reciveTime");
            return (Criteria) this;
        }

        public Criteria andReciveTimeIn(List<Date> values) {
            addCriterion("recive_time in", values, "reciveTime");
            return (Criteria) this;
        }

        public Criteria andReciveTimeNotIn(List<Date> values) {
            addCriterion("recive_time not in", values, "reciveTime");
            return (Criteria) this;
        }

        public Criteria andReciveTimeBetween(Date value1, Date value2) {
            addCriterion("recive_time between", value1, value2, "reciveTime");
            return (Criteria) this;
        }

        public Criteria andReciveTimeNotBetween(Date value1, Date value2) {
            addCriterion("recive_time not between", value1, value2, "reciveTime");
            return (Criteria) this;
        }

        public Criteria andFixTypeIsNull() {
            addCriterion("fix_type is null");
            return (Criteria) this;
        }

        public Criteria andFixTypeIsNotNull() {
            addCriterion("fix_type is not null");
            return (Criteria) this;
        }

        public Criteria andFixTypeEqualTo(Integer value) {
            addCriterion("fix_type =", value, "fixType");
            return (Criteria) this;
        }

        public Criteria andFixTypeNotEqualTo(Integer value) {
            addCriterion("fix_type <>", value, "fixType");
            return (Criteria) this;
        }

        public Criteria andFixTypeGreaterThan(Integer value) {
            addCriterion("fix_type >", value, "fixType");
            return (Criteria) this;
        }

        public Criteria andFixTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("fix_type >=", value, "fixType");
            return (Criteria) this;
        }

        public Criteria andFixTypeLessThan(Integer value) {
            addCriterion("fix_type <", value, "fixType");
            return (Criteria) this;
        }

        public Criteria andFixTypeLessThanOrEqualTo(Integer value) {
            addCriterion("fix_type <=", value, "fixType");
            return (Criteria) this;
        }

        public Criteria andFixTypeIn(List<Integer> values) {
            addCriterion("fix_type in", values, "fixType");
            return (Criteria) this;
        }

        public Criteria andFixTypeNotIn(List<Integer> values) {
            addCriterion("fix_type not in", values, "fixType");
            return (Criteria) this;
        }

        public Criteria andFixTypeBetween(Integer value1, Integer value2) {
            addCriterion("fix_type between", value1, value2, "fixType");
            return (Criteria) this;
        }

        public Criteria andFixTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("fix_type not between", value1, value2, "fixType");
            return (Criteria) this;
        }

        public Criteria andSoftNameIsNull() {
            addCriterion("soft_name is null");
            return (Criteria) this;
        }

        public Criteria andSoftNameIsNotNull() {
            addCriterion("soft_name is not null");
            return (Criteria) this;
        }

        public Criteria andSoftNameEqualTo(String value) {
            addCriterion("soft_name =", value, "softName");
            return (Criteria) this;
        }

        public Criteria andSoftNameNotEqualTo(String value) {
            addCriterion("soft_name <>", value, "softName");
            return (Criteria) this;
        }

        public Criteria andSoftNameGreaterThan(String value) {
            addCriterion("soft_name >", value, "softName");
            return (Criteria) this;
        }

        public Criteria andSoftNameGreaterThanOrEqualTo(String value) {
            addCriterion("soft_name >=", value, "softName");
            return (Criteria) this;
        }

        public Criteria andSoftNameLessThan(String value) {
            addCriterion("soft_name <", value, "softName");
            return (Criteria) this;
        }

        public Criteria andSoftNameLessThanOrEqualTo(String value) {
            addCriterion("soft_name <=", value, "softName");
            return (Criteria) this;
        }

        public Criteria andSoftNameLike(String value) {
            addCriterion("soft_name like", value, "softName");
            return (Criteria) this;
        }

        public Criteria andSoftNameNotLike(String value) {
            addCriterion("soft_name not like", value, "softName");
            return (Criteria) this;
        }

        public Criteria andSoftNameIn(List<String> values) {
            addCriterion("soft_name in", values, "softName");
            return (Criteria) this;
        }

        public Criteria andSoftNameNotIn(List<String> values) {
            addCriterion("soft_name not in", values, "softName");
            return (Criteria) this;
        }

        public Criteria andSoftNameBetween(String value1, String value2) {
            addCriterion("soft_name between", value1, value2, "softName");
            return (Criteria) this;
        }

        public Criteria andSoftNameNotBetween(String value1, String value2) {
            addCriterion("soft_name not between", value1, value2, "softName");
            return (Criteria) this;
        }

        public Criteria andSourceIsNull() {
            addCriterion("source is null");
            return (Criteria) this;
        }

        public Criteria andSourceIsNotNull() {
            addCriterion("source is not null");
            return (Criteria) this;
        }

        public Criteria andSourceEqualTo(Integer value) {
            addCriterion("source =", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotEqualTo(Integer value) {
            addCriterion("source <>", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceGreaterThan(Integer value) {
            addCriterion("source >", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceGreaterThanOrEqualTo(Integer value) {
            addCriterion("source >=", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceLessThan(Integer value) {
            addCriterion("source <", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceLessThanOrEqualTo(Integer value) {
            addCriterion("source <=", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceIn(List<Integer> values) {
            addCriterion("source in", values, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotIn(List<Integer> values) {
            addCriterion("source not in", values, "source");
            return (Criteria) this;
        }

        public Criteria andSourceBetween(Integer value1, Integer value2) {
            addCriterion("source between", value1, value2, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotBetween(Integer value1, Integer value2) {
            addCriterion("source not between", value1, value2, "source");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}